<?php     

echo form_open(current_url()); ?>
<?php echo $custom_error; ?>

                                    <p><label for="username">Username<span class="required">*</span></label>                                
                                    <input id="username" type="text" name="username" value="<?php echo set_value('username'); ?>"  />
                                    <?php echo form_error('username','<div>','</div>'); ?>
                                    </p>
                                    

                                    <p><label for="password">Password<span class="required">*</span></label>                                
                                    <input id="password" type="password" name="password" value="<?php echo set_value('password'); ?>"  />
                                    <?php echo form_error('password','<div>','</div>'); ?>
                                    </p>
                                    

                                    <p><label for="email">Email<span class="required">*</span></label>                                
                                    <input id="email" type="password" name="email" value="<?php echo set_value('email'); ?>"  />
                                    <?php echo form_error('email','<div>','</div>'); ?>
                                    </p>
                                    

                                    <p><label for="createdate">Createdate<span class="required">*</span></label>                                
                                    <input id="createdate" type="text" name="createdate" value="<?php echo set_value('createdate'); ?>"  />
                                    <?php echo form_error('createdate','<div>','</div>'); ?>
                                    </p>
                                    

                                    <p><label for="question">Question<span class="required">*</span></label>                                
                                    <input id="question" type="text" name="question" value="<?php echo set_value('question'); ?>"  />
                                    <?php echo form_error('question','<div>','</div>'); ?>
                                    </p>
                                    

                                    <p><label for="avartar">Avartar<span class="required">*</span></label>                                
                                    <input id="avartar" type="text" name="avartar" value="<?php echo set_value('avartar'); ?>"  />
                                    <?php echo form_error('avartar','<div>','</div>'); ?>
                                    </p>
                                    

                                    <p><label for="usertype">Usertype<span class="required">*</span></label>                                
                                    <input id="usertype" type="text" name="usertype" value="<?php echo set_value('usertype'); ?>"  />
                                    <?php echo form_error('usertype','<div>','</div>'); ?>
                                    </p>
                                    

                                    <p><label for="address">Address<span class="required">*</span></label>                                
                                    <input id="address" type="text" name="address" value="<?php echo set_value('address'); ?>"  />
                                    <?php echo form_error('address','<div>','</div>'); ?>
                                    </p>
                                    
<p>
        <?php echo form_submit( 'submit', 'Submit'); ?>
</p>

<?php echo form_close(); ?>
